#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;

class Compare
{
public:
    Compare(bool f = true):flag(f){}
    bool operator()(int a,int b)
    {
        if(flag == true)
            return a<b;
        else
            return a>b;
    }
private:
    bool flag;
};

int main()
{
    // vector<int> vi = {1,3,5,7,9,2,4,6,8,10};
    // sort(vi.begin(),vi.end(),Compare(true));

    // for(auto & i:vi)
    // {
    //     cout<<i<<endl;
    // }

    auto a = []{return 1+2;};
    cout<<a()<<endl;
    return 0;
}
